package com.bjfu.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor //生成无参构造
@AllArgsConstructor //生成有参构造
public class GuliException extends RuntimeException {
    // 状态码
    private Integer code;
    // 异常信息,为了区别于父类的message
    private String msg;


}
